package com.tiantianbook.mvpretrofitrxjavademo.base;

/**
 * name:BasePresenter
 * author:moo.
 * date:2016/8/31.
 * instruction:
 */
public abstract class BasePresenter<T> {

    /*这个基类的Presenter 主要的作用就是将当前Presenter持有的view 在合适的时候给清除掉*/
    public T mView;

    public void attach(T mView) {
        this.mView = mView;
    }


    public void dettach() {
        mView = null;
    }

}
